<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/css/jquery.PrintArea.js"></script>
<script type="text/javascript">
	function fxl(){
		alert(111)
    	$("div#myPrintArea").printArea();
	};
</script>
<?php $this->pageTitle = Yii::app()->name; ?>
<div id="myPrintArea">
     .....html to print.....
	 <input type="button" id="print_button" class="print_button" name="print_button" onclick="fxl()" value="print" />
</div>